﻿using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace RazorPagesMovie.Models
{
    public class FileUpload
    {
        [Required,StringLength(60,MinimumLength =3)]
        public string Title { get; set; }

        [Required, Display(Name ="Public Schedule")]
        public IFormFile UploadPublicSchedule { get; set; }

        [Required, Display(Name ="Private Schedule")]
        public IFormFile UploadPrivateSchedule { get; set; }
    }
}
